package test;

/**
 * 租赁
 */
public class Rental {

    /**
     * 影片
     */
    private Movie movie;

    /**
     * 租赁天数
     */
    private int days;

    public Rental(Movie movie, int days) {
        this.movie = movie;
        this.days = days;
    }

    public Movie getMovie() {
        return movie;
    }

    public int getDays() {
        return days;
    }
}
